package excercise;

public class Q38_Magazine {
	
	
		private String title;
		private String allpage;
		private String writer;
		private String pubdate;
		
		public Q38_Magazine(){
			
			title = "";
			allpage = "";
			writer = "";
			pubdate = "";
			
		}
		
		public Q38_Magazine(String title, String allpage, String writer){
			
			this.title = title;
			this.allpage = allpage;
			this.writer = writer;
			
		}
		
		public void setTitle(String title){
			
			this.title = title;
			
		}
		
		public String getTitle(){
			
			return title;
			
		}
		
		public void setAllpage(String allpage){
			
			this.title = title;
			
		}
		
		public String getAllpage(){
			
			return title;
			
		}
		
		public void setWriter(String writer){
			
			this.title = title;
			
		}
		
		public String getWriter(){
			return writer;
			
		}
		
		public static int pubdate(int days){
			
			return days;
			
		}
		
	}
